<template>
    <view class="affix">
        <view class="affix-btn" @tap="$emit('@tap')">
            <uni-icons type="plusempty" size="30" color="#fff"></uni-icons>
        </view>
        <view class="description" v-if="!!description">{{ description }}</view>
    </view>
</template>
<script>
export default {
    props: {
        description:String
    }
}
</script>
<style lang="scss">
.affix {
    position: fixed;
    bottom: 30px;
    right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8rpx;
    .affix-btn {
        background-color: #808080;
        width: 72rpx;
        height: 72rpx;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .description {
       color: #808080;
       font-size: 28rpx;
    }
}
</style>